process.on('message',function(message){
    while (true) {
        if(message.isMasterThreadExit) break;
        
      //确保任务队列和线程池都有数据
      if (message.taskQuery.length!==0 && message.workerQuery.length!==0) {
        const task = message.taskQuery.shift();
        const fork = message.workerQuery.shift();
        fork.send(task);
        // process.send
      }
    }
})